package com.liliang.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author liliang
 * @since 2021-11-04
 */
public class Stock implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    private String stockNum;

    private String stockName;

    private String authorId;

    private String author;

    private String stockType;

    private BigDecimal budget;

    private LocalDateTime startDate;

    private LocalDateTime endDate;

    private LocalDateTime submitDate;

    private String remark;

    private String leaderId;

    private String leader;

    private String leadAgree;

    private String leadOpinion;

    private LocalDateTime leadDate;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getStockNum() {
        return stockNum;
    }

    public void setStockNum(String stockNum) {
        this.stockNum = stockNum;
    }

    public String getStockName() {
        return stockName;
    }

    public void setStockName(String stockName) {
        this.stockName = stockName;
    }

    public String getAuthorId() {
        return authorId;
    }

    public void setAuthorId(String authorId) {
        this.authorId = authorId;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getStockType() {
        return stockType;
    }

    public void setStockType(String stockType) {
        this.stockType = stockType;
    }

    public BigDecimal getBudget() {
        return budget;
    }

    public void setBudget(BigDecimal budget) {
        this.budget = budget;
    }

    public LocalDateTime getStartDate() {
        return startDate;
    }

    public void setStartDate(LocalDateTime startDate) {
        this.startDate = startDate;
    }

    public LocalDateTime getEndDate() {
        return endDate;
    }

    public void setEndDate(LocalDateTime endDate) {
        this.endDate = endDate;
    }

    public LocalDateTime getSubmitDate() {
        return submitDate;
    }

    public void setSubmitDate(LocalDateTime submitDate) {
        this.submitDate = submitDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getLeaderId() {
        return leaderId;
    }

    public void setLeaderId(String leaderId) {
        this.leaderId = leaderId;
    }

    public String getLeader() {
        return leader;
    }

    public void setLeader(String leader) {
        this.leader = leader;
    }

    public String getLeadAgree() {
        return leadAgree;
    }

    public void setLeadAgree(String leadAgree) {
        this.leadAgree = leadAgree;
    }

    public String getLeadOpinion() {
        return leadOpinion;
    }

    public void setLeadOpinion(String leadOpinion) {
        this.leadOpinion = leadOpinion;
    }

    public LocalDateTime getLeadDate() {
        return leadDate;
    }

    public void setLeadDate(LocalDateTime leadDate) {
        this.leadDate = leadDate;
    }

    @Override
    public String toString() {
        return "Stock{" +
        "id=" + id +
        ", stockNum=" + stockNum +
        ", stockName=" + stockName +
        ", authorId=" + authorId +
        ", author=" + author +
        ", stockType=" + stockType +
        ", budget=" + budget +
        ", startDate=" + startDate +
        ", endDate=" + endDate +
        ", submitDate=" + submitDate +
        ", remark=" + remark +
        ", leaderId=" + leaderId +
        ", leader=" + leader +
        ", leadAgree=" + leadAgree +
        ", leadOpinion=" + leadOpinion +
        ", leadDate=" + leadDate +
        "}";
    }
}
